home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gExHot
- set Y to 0
- repeat with x = 2 to 13
- if rollOver(x) then
- set Y to x
- end if
- set the visible of sprite x to 0
- end repeat
- case Y of
- 0:
- nothing()
- otherwise:
- set the visible of sprite Y to 1
- end case
- if Y <> gExHot then
- set gExHot to Y
- case gExHot of
- 0:
- nothing()
- otherwise:
- if ((Y - 1) = 1) or ((Y - 1) = 2) then
- puppetSound("SONG_0" & Y - 1 & ".AIF")
- end if
- end case
- end if
- go(the frame)
- end
-